package edu.xidian.bdilab.jrbigdata.service.admin.governmentadmin;

import edu.xidian.bdilab.jrbigdata.controller.response.ResponseResult;
import edu.xidian.bdilab.jrbigdata.domain.GovernmentInfo;

public interface governmentadminService {


    /**
     * 查看所有政府用户信息
     *
     * @return void
     */
    public ResponseResult governmentManage_check(GovernmentInfo governmentInfo) throws Exception;

    /**
     *新增政府用户信息
     *
     * @return void
     */
    public ResponseResult governmentManage_add(GovernmentInfo governmentInfo,String password) throws Exception;

    /**
     *编辑政府用户信息
     *
     * @return void
     */
    public ResponseResult governmentManage_update(GovernmentInfo governmentInfo,String password) throws Exception;


    /**
     * 通过governmentCode删除政府用户
     *
     * @return void
     */
    public ResponseResult  governmentManage_delete(String userName) throws Exception;
}
